package com.learn.xueer.ui.adapter

import com.bumptech.glide.Glide
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.learn.xueer.R
import com.learn.xueer.data.model.bean.BannerInfo
import com.learn.xueer.data.model.bean.Child
import com.learn.xueer.data.model.bean.SchoolResponse

class LetterItemAdapter(data: ArrayList<Child>) :
    BaseQuickAdapter<Child, BaseViewHolder>(R.layout.item_item_letter_layout, data) {
    override fun convert(holder: BaseViewHolder, item: Child) {

        holder.setText(R.id.tv_name, item.name)
        holder.setText(R.id.tv_city, item.city)

    }
}